<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>

	<title></title>

</head>
<body>

<p align="center">
	<h2>用户添加页</h2>
	<a href="index.html">用户主页</a>
</p>
<form action="add" method="post">
	<p>用户账号:<input type="text" name="username"></p>
	<p>用户密码:<input type="text" name="password"></p>
	<p>
		角色名称:
		<select name="role_id">
			<option value="0">请选择角色</option>
			<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><option value="<?php echo ($vo["id"]); ?>"><?php echo ($vo["role_name"]); ?></option><?php endforeach; endif; else: echo "" ;endif; ?>
		</select>
	</p>
	<p>
		<input type="submit" value="提交">
		<input type="reset" value="重置">
	</p>
</form>

</body>
</html>